<h5><i class="icon-list-alt"></i> <?= $t_seguranca ?></h5>

<ul class="nav nav-tabs nav-stacked">
    <?php
        $sql = "SELECT * FROM notseg WHERE status='1' ORDER BY not_seg_id DESC";
        $res = sql($sql);
        $i=0;
        while($linha = mysql_fetch_array($res)) {
            if ($i == 0){ $class = "active"; } else { $class = ""; }
            
            if ($linha['not_seg_url'] != ""){
                $seg = "<a href='".$_SESSION['pro_site'].$linha['not_seg_url']."' target='_blank'>{$linha['not_seg_nome']}</a>";
            } else {
                $seg = "<a href='#seg{$linha['not_seg_id']}' data-toggle='modal'>{$linha['not_seg_nome']}</a>";
            }
    ?>
    <li class="<?=$class;?>"><?=$seg;?></li>
    <?php 
        include "detalhe.php"; 
        $i++;
        }
    ?>
</ul>
<p style="text-align: right;"><a href="#segfull" data-toggle="modal"><i class="icon-plus"></i> <?=$t_visu;?></a></p>
<?php include "full.php"; ?>  